//
//  DataBaseHandler.h
//  UI21_SQLite
//
//  Created by Scott on 16/1/11.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Student;

@interface DataBaseHandler : NSObject

+ (instancetype)shareDataBaseHandler;

- (void)open;

- (void)createTable;

- (void)insertStudent:(Student *)student;

- (void)updataStudent:(Student *)stu forNumber:(NSInteger)number;

- (void)deleteWithNumber:(NSInteger)number;

- (NSArray *)selectForAge:(int)age;

- (void)dropTable;

- (void)closeDB;


@end
